<!DOCTYPE html>
<html lang="zh-cmn-Hans"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/create}" >添加信息</a>
<a th:href="@{/reslist}" >打卡记录</a>
<h1>补充打卡</h1>
<h2>为防止忘记打卡，每天早7点30晚5点后的20分钟内进行一次打卡</h2>
<h2>注意：是为了预防忘记，不要完全替代正常打卡</h2>
<h3>根据ECP考勤(非新考勤)抓取而来</h3>
<table border="1">
    <thead>
        <tr>
            <td>id</td>
            <td>姓名</td>
            <td>员工号</td>
            <td>电话</td>
            <td>邮箱</td>
            <td>----</td>
        </tr>
    </thead>
    <tbody>
        <tr th:if="${personList.size()} eq 0">
            <td colspan="5">没有用户信息！！</td>
        </tr>
        <tr th:each="psrson : ${personList}">
            <td th:text="${psrson.id}"></td>
            <td th:text="${psrson.name}"></td>
            <td th:text="${psrson.employeeId}"></td>
            <td th:text="${psrson.phone}"></td>
            <td th:text="${psrson.email}"></td>
            <td>
                <a  th:href="@{'/delete/' + ${psrson.id} }">删除</a>
            </td>
        </tr>
    </tbody>
</table>
</body>
</html>